package cn.edu.fzu.homemaking.domain.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
/**
 * @author jiebin
 * @date 2023/4/15
 */

@Data
public class UserWallet {
    private Long id;

    //用户id
    private Long userId;

    //余额
    private BigDecimal surplus;

    //更新时间
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
